]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
extensionSystem: Load user extensions after system ones
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 14 Oct 2011 21:57:46 +0000 (17:57 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sun, 16 Oct 2011 18:54:17 +0000 (14:54 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=661815

js/ui/extensionSystem.js

index d1f53ef1957fa0827ecdaada464db50aa6406bad..f31f2b48c3f9944ddd24b2e775389d99cf177883 100644 (file)
@@ -450,7 +450,6 @@ function _loadExtensionsIn(dir, type) {
 }
 
 function loadExtensions() {
-    _loadExtensionsIn(userExtensionsDir, ExtensionType.PER_USER);
     let systemDataDirs = GLib.get_system_data_dirs();
     for (let i = 0; i < systemDataDirs.length; i++) {
         let dirPath = systemDataDirs[i] + '/gnome-shell/extensions';
@@ -458,6 +457,7 @@ function loadExtensions() {
         if (dir.query_exists(null))
             _loadExtensionsIn(dir, ExtensionType.SYSTEM);
     }
+    _loadExtensionsIn(userExtensionsDir, ExtensionType.PER_USER);
 }
 
 function InstallExtensionDialog(uuid, version_tag, name) {